package com.px.project.module.ht.dto;

import javax.validation.constraints.NotNull;

import com.px.project.module.ht.entity.LocomotiveVideo;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 系统管理》生产调度》机车视频管理更新数据传输对象
 *
 * @author 品讯科技
 * @date 2024-08
 */
@Getter
@Setter
@Accessors(chain = true)
public class LocomotiveVideoUpdateDto extends LocomotiveVideo {
    private static final long serialVersionUID = 7062024095485236971L;
    /**
     * 机车视频ID
     */
    @NotNull(message = "机车视频ID必填项")
    private Long id;

    @Override
    public void setId(Long id) {
        this.id = id;
    }
}